﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DetailSportOddsResult.ascx.cs" Inherits="Modules_DetailSportOddsResult" %>
<div id="box">
    <h3 id="adduser">CẬP NHẬT THÔNG TIN DỊCH VỤ KẾT QUẢ - TỶ LỆ BÓNG ĐÁ</h3>
    
    <br /><div align="center"><asp:Label ID="lblError" runat="server" Font-Bold="true" /></div><br />
    
    <fieldset id="personal">
        <legend class="lbl">Thông tin mã</legend>
        
        <label>Dịch vụ</label>
        <asp:DropDownList ID="ddlService" runat="server" DataTextField="Title" DataValueField="ServiceName" AutoPostBack="true" OnSelectedIndexChanged="ddlService_SelectedIndexChanged"></asp:DropDownList>&nbsp;<asp:TextBox ID="txtCmd2" runat="server" Width="80px" /><br /><br />
        
        <label>Nhóm nội dung</label>
        <asp:DropDownList ID="ddlGroup" runat="server" DataTextField="Contents" DataValueField="CodeID"></asp:DropDownList><br /><br />
        
        <label>Mã phụ cấp 3</label>
        <asp:TextBox ID="txtParam1" runat="server" Width="80px" Text="L" />
        <asp:TextBox ID="txtParam2" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam3" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam4" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam5" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam6" runat="server" Width="80px" />
        <i>Ví dụ: HELP, ...</i>     
        
    </fieldset>    
    <fieldset>
        <label>Tổng số tin trả về: </label>
        <asp:TextBox ID="txtTotalMsg" runat="server" Width="50px" Text="1" />&nbsp;<i>(Nhập tay hoặc tự động, tùy theo số tin trả về)</i><br />
        
        <asp:CheckBox ID="chkStatus" runat="server" Text="Kích hoạt ngay" Checked="true" /><br />
    </fieldset>
    
    <fieldset>
        <legend class="lbl">Thời gian <i>(Format: dd/MM/yyyy hh:mm)</i></legend>
        Bắt đầu:<asp:TextBox ID="txtStartTime1" runat="server" Width="120px" />&nbsp;&nbsp;Hiệp 2:<asp:TextBox ID="txtHTime1" runat="server" Width="120px" />&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkEnable1" runat="server" ToolTip="Kích hoạt" />&nbsp;&nbsp;<asp:CheckBox ID="chkFT1" runat="server" ToolTip="Kết thúc" /><br />
        Bắt đầu:<asp:TextBox ID="txtStartTime2" runat="server" Width="120px" />&nbsp;&nbsp;Hiệp 2:<asp:TextBox ID="txtHTime2" runat="server" Width="120px" />&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkEnable2" runat="server" ToolTip="Kích hoạt" />&nbsp;&nbsp;<asp:CheckBox ID="chkFT2" runat="server" ToolTip="Kết thúc" /><br />
        Bắt đầu:<asp:TextBox ID="txtStartTime3" runat="server" Width="120px" />&nbsp;&nbsp;Hiệp 2:<asp:TextBox ID="txtHTime3" runat="server" Width="120px" />&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkEnable3" runat="server" ToolTip="Kích hoạt" />&nbsp;&nbsp;<asp:CheckBox ID="chkFT3" runat="server" ToolTip="Kết thúc" />
    </fieldset>
    
    <div align="center">
        <asp:Button ID="btnSaveTop" runat="server" Text="Cập nhật" OnClick="btnAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnClearTop" runat="server" Text="Xóa trắng" OnClick="btnClear_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnBackTop" runat="server" Text="Quay lại" OnClick="btnBack_Click" CssClass="btn" />
    </div>
    
    <fieldset id="address">
        <legend class="lbl">Nội dung tin nhắn trả về</legend>
        
        <label>Tin nhắn 1 : </label>
        <asp:TextBox ID="txtContent1" runat="server" Width="450px" Height="100px" TextMode="MultiLine" MaxLength="160" />
        <asp:RequiredFieldValidator ID="rfvContent1" runat="server" ControlToValidate="txtContent1" Text="*" />
        <asp:RegularExpressionValidator ID="revContent1" ControlToValidate="txtContent1" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content1" /><br /><br />
        
        <label>Tin nhắn 2 : </label>
        <asp:TextBox ID="txtContent2" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent2" ControlToValidate="txtContent2" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content2" /><br /><br />
        
        <label>Tin nhắn 3 : </label>
        <asp:TextBox ID="txtContent3" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent3" ControlToValidate="txtContent3" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content3" /><br /><br />
        
        <label>Tin nhắn 4 : </label>
        <asp:TextBox ID="txtContent4" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent4" ControlToValidate="txtContent4" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content4" /><br /><br />
        
        <label>Tin nhắn 5 : </label>
        <asp:TextBox ID="txtContent5" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent5" ControlToValidate="txtContent5" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content5" />
    </fieldset>
    
    <fieldset id="opt">
        <legend class="lbl">Các thông tin khác</legend>

        <label>Cách tính phí : </label>
        <asp:DropDownList ID="ddlMsgType" runat="server" Enabled="false">
            <asp:ListItem Text="0 - Phát sinh từ dịch vụ, không tính tiền" Value="0"></asp:ListItem>
            <asp:ListItem Text="1 - Tính cước khi đến SMSC" Value="1" Selected="True"></asp:ListItem>
            <asp:ListItem Text="2 - Không hợp lệ, không trừ tiền" Value="2"></asp:ListItem>
            <asp:ListItem Text="3 - Trừ tiền ngay" Value="3"></asp:ListItem>
        </asp:DropDownList><br /><br />
        
        <label>Dạng tin : </label>
        <asp:DropDownList ID="ddlContentType" runat="server" Width="80px">
            <asp:ListItem Text="0 - Text" Value="0" Selected="True"></asp:ListItem>
        </asp:DropDownList><br /><br />
        
        <label>Kiểu xử lý : </label>
        <asp:DropDownList ID="ddlProcessType" runat="server" Width="80px">
            <asp:ListItem Text="Trả ngay" Value="0" Selected="True"></asp:ListItem>
        </asp:DropDownList><br />
    </fieldset><br />
    
    <div align="center">
        <asp:Button ID="btnAdd" runat="server" Text="Cập nhật" OnClick="btnAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnClear" runat="server" Text="Xóa trắng" OnClick="btnClear_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnBack" runat="server" CssClass="btn" Text="Quay lại" OnClick="btnBack_Click" />
    </div>
</div>